/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 * El main que tiene tipomain de 1, indicando que es el del player dos.
 */
package edu.ieslaferreria.creditsintesis;

import edu.ieslaferreria.creditsintesis.logicgame.ActionStates;
import edu.ieslaferreria.creditsintesis.logicgame.ActionStatesHash1;
import java.awt.Toolkit;
import java.net.MalformedURLException;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;



/**
 *
 * @author Administrador
 */
public class MeetingSituationScenePlayer2Rmi extends MeetingSituationScenePlayer1Rmi{
        

     public static void main(String args[]) throws ClassNotFoundException,
             InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException, NotBoundException, MalformedURLException, RemoteException {
        try {
            ActionStates pruebaMainNOSERADETIPOHASHENREALIDAD = new ActionStatesHash1();
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            Toolkit.getDefaultToolkit().setDynamicLayout(true);
            JFrame.setDefaultLookAndFeelDecorated(true);

             MeetingSituationScenePlayer2Rmi app = new MeetingSituationScenePlayer2Rmi(pruebaMainNOSERADETIPOHASHENREALIDAD);




        } catch (NotBoundException ex) {
            Logger.getLogger(MeetingSituationScenePlayer2Rmi.class.getName()).log(Level.SEVERE, null, ex);
        } catch (MalformedURLException ex) {
            Logger.getLogger(MeetingSituationScenePlayer2Rmi.class.getName()).log(Level.SEVERE, null, ex);
        } catch (RemoteException ex) {
            Logger.getLogger(MeetingSituationScenePlayer2Rmi.class.getName()).log(Level.SEVERE, null, ex);
        }

            // Signal to show properties dialog


    }
   

    @SuppressWarnings("empty-statement")

    
    public MeetingSituationScenePlayer2Rmi(ActionStates actsta) throws NotBoundException, MalformedURLException, RemoteException {
        super(actsta,1,"player2");
}

}